package com.md.annotation;

import com.md.config.client.RetryClientConfig;
import com.md.config.client.RetryConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 是否启用client
 *
 * @author 刘骄阳
 * 2024-06-07 0:08
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({RetryClientConfig.class, RetryConfiguration.class})
public @interface EnableRetryClient {
}
